/**
 * User:langchen
 * Date:2022-07-27
 * Time:14:51
 */
public class judge100 {
    public static void main(String[] args) {
        int num = 0;
        for(num=1;num<=100;num++){
            int j = 2;
            while(j<num){
                if(num%j==0){
                    break;
                }
                else{
                    j++;
                }
            }
            if(j>=num){
                System.out.println(num+"是素数");
            }
        }
    }
}
